package com.beaven.java.search;

/**
 * @author Beaven
 * @date 2018/7/7 18:31
 */
public class Main {

    public static void main(String[] args) {
        int[] nums = {1, 2, 4, 5, 7, 10};
        int key = BinarySearch.search(nums, 7);
        System.out.println("key--" + key);
    }

}
